home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 November: Tool Chest / Dev.CD Nov 00 TC Disk 2.toast / pc / sample code / quicktime / quicktime for java / zoo tutorial / module 8- transitions / source / moviebutton.java < prev    next >
Encoding:
Java Source  |  2000-09-28  |  3.2 KB  |  69 lines

  1. import quicktime.QTException;
  2. import quicktime.app.ui.ReleaseButton;
  3. import quicktime.app.image.ImageSpec;
  4.  
  5. /**
  6.  * Class that extends ReleaseButton to override setCurrentImage (which is protected)
  7.  * This class is deprecated.
  8.  *
  9.  * @author Levi Brown
  10.  * @author Michael Hopkins
  11.  * @author Apple Computer, Inc.
  12.  * @version 1.0 10/21/1999
  13.  * Copyright:     © Copyright 1999 Apple Computer, Inc. All rights reserved.
  14.  *    
  15.  * Disclaimer:    IMPORTANT:  This Apple software is supplied to you by Apple Computer, Inc.
  16.  *                ("Apple") in consideration of your agreement to the following terms, and your
  17.  *                use, installation, modification or redistribution of this Apple software
  18.  *                constitutes acceptance of these terms.  If you do not agree with these terms,
  19.  *                please do not use, install, modify or redistribute this Apple software.
  20.  *
  21.  *                In consideration of your agreement to abide by the following terms, and subject
  22.  *                to these terms, Apple grants you a personal, non-exclusive license, under Apple’s
  23.  *                copyrights in this original Apple software (the "Apple Software"), to use,
  24.  *                reproduce, modify and redistribute the Apple Software, with or without
  25.  *                modifications, in source and/or binary forms; provided that if you redistribute
  26.  *                the Apple Software in its entirety and without modifications, you must retain
  27.  *                this notice and the following text and disclaimers in all such redistributions of
  28.  *                the Apple Software.  Neither the name, trademarks, service marks or logos of
  29.  *                Apple Computer, Inc. may be used to endorse or promote products derived from the
  30.  *                Apple Software without specific prior written permission from Apple.  Except as
  31.  *                expressly stated in this notice, no other rights or licenses, express or implied,
  32.  *                are granted by Apple herein, including but not limited to any patent rights that
  33.  *                may be infringed by your derivative works or by other works in which the Apple
  34.  *                Software may be incorporated.
  35.  *
  36.  *                The Apple Software is provided by Apple on an "AS IS" basis.  APPLE MAKES NO
  37.  *                WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION THE IMPLIED
  38.  *                WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  39.  *                PURPOSE, REGARDING THE APPLE SOFTWARE OR ITS USE AND OPERATION ALONE OR IN
  40.  *                COMBINATION WITH YOUR PRODUCTS.
  41.  *
  42.  *                IN NO EVENT SHALL APPLE BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL OR
  43.  *                CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
  44.  *                GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  45.  *                ARISING IN ANY WAY OUT OF THE USE, REPRODUCTION, MODIFICATION AND/OR DISTRIBUTION
  46.  *                OF THE APPLE SOFTWARE, HOWEVER CAUSED AND WHETHER UNDER THEORY OF CONTRACT, TORT
  47.  *                (INCLUDING NEGLIGENCE), STRICT LIABILITY OR OTHERWISE, EVEN IF APPLE HAS BEEN
  48.  *                ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  49.  * 
  50.  * 
  51.  */
  52. public class MovieButton extends ReleaseButton
  53. {
  54.     /**
  55.      *
  56.      */
  57.     MovieButton(ImageSpec releasedImage, ImageSpec pressedImage, ImageSpec deactiveImage) throws QTException
  58.     {
  59.         super(releasedImage, pressedImage, deactiveImage);
  60.     }
  61.     
  62.     /**
  63.      *
  64.      */
  65.     public void setCurrentImage(ImageSpec image) throws QTException
  66.     {
  67.         super.setCurrentImage(image);
  68.     }
  69. }